﻿@model System.Web.Mvc.HandleErrorInfo

<h2>
    Sorry, an error occurred while processing your request.
</h2>

<div class="errorReporting">
    <div id="errorImage">
        <a href="@Url.Content("~/elmah.axd")">
            <img src="@Url.Content("~/Content/img/error/Code.jpg")" />
        </a>
    </div>
    <div id="errorUtilInfo">
        <div id="Elmah">
            @if (ViewBag.ShowElmah == "True")
            {
                <a href="@Url.Content("~/elmah.axd")">Go to: Elmah error list</a>
            }
        </div>
        <div id="Message">
            Message: @ViewBag.ExMessage
        </div>
        <div id="Data">
            Data: @ViewBag.ExData
            <br />
        @*</div>
        <div id="Source">*@
            Source: @ViewBag.ExSource
            <br />
        @*</div>
        <div id="TargetSite">*@
            TargetSite: @ViewBag.ExTargetSite
        </div>
    </div>
    <div id="StackTrace">
        StackTrace: @ViewBag.ExStackTrace
    </div>
</div>
